home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine CD 1995 / Archive Magazine CD 1995.iso / discs / pipeline / abacus / p_line / Names01 / VAT02 < prev   
Encoding:
Text File  |  1991-12-07  |  1.2 KB  |  93 lines

  1. %OP%TNN
  2. %OP%WRN
  3. %OP%DP0
  4. %OP%PL0
  5. %OP%HM0
  6. %OP%FM0
  7. %OP%BM0
  8. %OP%LM4
  9. %OP%FX
  10. %OP%FY
  11. %OP%FS
  12. %OP%PT1
  13. %OP%PDPipeLine
  14. %OP%NDVAT,B6
  15. %OP%NDVAT_1,B5
  16. %OP%NDVAT_2,C5
  17. %OP%NDVAT_3,D5
  18. %OP%NDwhichvat,B4
  19. %OP%NDvatrange,B5D5
  20. %OP%WC2,772,604,1568,0,0,0,0
  21. %OP%VS4.01 (22-Oct-91), Gerald Fitton, R4000 2915 6625 6368 
  22. %CO:A,12,42%
  23. %C%An Example Using Many Names
  24.  
  25. Which VAT?
  26. %R%VAT rates =
  27. %R%Current VAT
  28.  
  29. %R%Item
  30.  
  31.  
  32. %R%Shoes
  33. %R%Socks
  34. %R%Shirt
  35.  
  36. %R%Total
  37.  
  38. Position the caret in slot B4 and 
  39. change the number to a 2 or 3.
  40.  
  41. The formula in the slot B6 includes two 
  42. names, whichvat and vatrange.  To see the 
  43. definition of these names click the mouse 
  44. select (left) button on the formula 
  45. button (the italic f just to the right of 
  46. the PipeDream 4 logo) and run the pointer 
  47. through Edit name.
  48. %CO:B,10,10%
  49.  
  50.  
  51. %V%%L%1
  52. %V%%L%%TC%%D2%10
  53. %V%%L%%TC%%D2%choose(whichvat,vatrange)
  54.  
  55. %R%Price
  56. %R%ex VAT
  57.  
  58. %V%%R%%LC%%D2%25.67
  59. %V%%R%%LC%%D2%2.78
  60. %V%%R%%LC%%D2%12.47
  61.  
  62. %V%%R%%LC%%D2%sum(B10B13)
  63. %CO:C,10,10%
  64.  
  65.  
  66.  
  67. %V%%L%%TC%%D2%15
  68.  
  69.  
  70.  
  71. %R%VAT
  72.  
  73. %V%%R%%LC%%D2%B11*VAT/100
  74. %V%%R%%LC%%D2%B12*VAT/100
  75. %V%%R%%LC%%D2%B13*VAT/100
  76.  
  77. %V%%R%%LC%%D2%B15*VAT/100
  78. %CO:D,10,10%
  79.  
  80.  
  81.  
  82. %V%%L%%TC%%D2%17.5
  83.  
  84.  
  85. %R%Price
  86. %R%with VAT
  87.  
  88. %V%%R%%LC%%D2%B11+C11
  89. %V%%R%%LC%%D2%B12+C12
  90. %V%%R%%LC%%D2%B13+C13
  91.  
  92. %V%%R%%LC%%D2%sum(D10D13)
  93.